package org.example.emos.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.example.emos.common.util.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Api("测试接口")
public class TesController {

    @GetMapping("sayHello")
    @ApiOperation("最简单的测试方法")
    public R sayHello(){
        return R.ok().put("message","HelloWorld");
    }
}
